<template>

  <el-carousel class="light" indicator-position="outside">
    <el-carousel-item style="height: 400px"  v-for="item in 4" :key="item">
      <h3 text="2xl" justify="center">{{ item }}</h3>
    </el-carousel-item>
  </el-carousel>



</template>

<style scoped>

.light{
  margin-top: 50px;
  margin-left: 150px;
  width:1000px;
  height:400px;

}

.el-carousel__item h3 {
  color: #c45656;
  opacity: 0.75;
  display: flex;
  align-items: center;
  margin: 0;
  text-align: center;
  height: 100%;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
<script setup>
</script>